package com.pojo;

/**
 * 用户 实体类
 */
public class JdUser {
    private Integer u_num;

    private String u_id;

    private String u_logInName;

    private String u_passWord;

    private String u_name;

    private String u_email;

    private String u_phone;

    private Integer u_state;
    
    //修改数据 (密码)
    private String oldPassword;
    private String newPassword;
    
    public String getOldPassword() {
        return oldPassword;
    }
    
    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }
    
    public String getNewPassword() {
        return newPassword;
    }
    
    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
    
    public Integer getU_num() {
        return u_num;
    }

    public void setU_num(Integer u_num) {
        this.u_num = u_num;
    }

    public String getU_id() {
        return u_id;
    }

    public void setU_id(String u_id) {
        this.u_id = u_id == null ? null : u_id.trim();
    }

    public String getU_logInName() {
        return u_logInName;
    }

    public void setU_logInName(String u_logInName) {
        this.u_logInName = u_logInName == null ? null : u_logInName.trim();
    }

    public String getU_passWord() {
        return u_passWord;
    }

    public void setU_passWord(String u_passWord) {
        this.u_passWord = u_passWord == null ? null : u_passWord.trim();
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name == null ? null : u_name.trim();
    }

    public String getU_email() {
        return u_email;
    }

    public void setU_email(String u_email) {
        this.u_email = u_email == null ? null : u_email.trim();
    }

    public String getU_phone() {
        return u_phone;
    }

    public void setU_phone(String u_phone) {
        this.u_phone = u_phone == null ? null : u_phone.trim();
    }

    public Integer getU_state() {
        return u_state;
    }

    public void setU_state(Integer u_state) {
        this.u_state = u_state;
    }
    
    @Override
    public String toString() {
        return "JdUser{" +
                "u_num=" + u_num +
                ", u_id='" + u_id + '\'' +
                ", u_logInName='" + u_logInName + '\'' +
                ", u_passWord='" + u_passWord + '\'' +
                ", u_name='" + u_name + '\'' +
                ", u_email='" + u_email + '\'' +
                ", u_phone='" + u_phone + '\'' +
                ", u_state=" + u_state +
                '}';
    }
}